package com.m7788.view;

import android.app.Activity;

import com.umeng.analytics.MobclickAgent;


/**
 * Created by gxchen on 2016/3/23.
 */
public class UmengBaseActivity extends Activity {

    @Override
    protected void onPause() {
        super.onPause();
        MobclickAgent.onPageEnd(getClass().getName());
        MobclickAgent.onPause(this);
    }

    @Override
    protected void onResume() {
        super.onResume();
        MobclickAgent.onPageStart(getClass().getName()); //手动统计页面("SplashScreen"为页面名称，可自定义)
        MobclickAgent.onResume(this);
    }

}
